package changeFinal;

public class Demo2 {
    String string;

    public Demo2(String string) {
        this.string = string;
    }

    @Override
    public String toString() {
        return "Demo2{" +
                "string='" + string + '\'' +
                '}';
    }
}
